<?php

class json_request
{
	var $error=0;
	var $error_number=0;
	var $type=0;
	var $operation=0;
	var $data=null;
	
	function load($request_data)
	{
		$this->error = $request_data->error;
		$this->error_number = $request_data->error_number;
		$this->type = $request_data->type;
		$this->operation = $request_data->operation;
		$this->data = $request_data->data;
	}
}

class json_userData
{
	var $nick="";
	var $maxBuild=0;
	var $maxResearch=0;
	var $maxFleet=0;
	var $totalPlanets=0;
	var $maxPlanets=0;
}
?>